const express = require("express");
const comment = express.Router();
const auth = require("../../middleware/auth");
const { deleteRules } = require("../../verify/comment");
const { DeleteComment } = require("../../controller/comment");

// 删除评论
comment.delete("/:id", auth, deleteRules, DeleteComment);

module.exports = comment;
